if (!com) var com={};
if (!com.sxnsx) com.sxnsx={};
if (!com.sxnsx.xnaja) com.sxnsx.xnaja={};
if (!com.sxnsx.xnaja.utilities) com.sxnsx.xnaja.utilities={};
if (!com.sxnsx.xnaja.ui) com.sxnsx.xnaja.ui={};
if (!com.sxnsx.xnaja.downloader) com.sxnsx.xnaja.downloader={};

com.sxnsx.cexport = function (child, base) {
    if (base != null) {
        child.prototype = new base();
        child.prototype.constructor = child;
    }
    child_obj = new child();
    for (var key in child_obj) {
        if (child_obj.hasOwnProperty(key)) {
            child.prototype[key] = child_obj[key];
        }
    }
    return child_obj;
};

